<%@ page contentType="text/html;charset=UTF-8" %>

<!-- the taglib is in web.xml -->
<%@ taglib uri="/tags/lab4-converter" prefix="temp" %>

<!-- these inline statements reference a Java handler in a compiled class -->
<!-- the class is found by looking up an entry in web.xml via the URI -->
<!-- the URI entry is followed by the actual location of a taglib file (.tld)-->
<!-- the tld file is also xml, and declaritively describes the input and output of the Java handler -->
<!-- it also contains the classpath to the handler that is compiled into a servlet to handle the value replacement -->
<!-- the handler replaces the content inside the tags with the calculated value before sending a response to the request -->

<p>Water boils at 100 Celsius which is <temp:convert to="Fahrenheit">100</temp:convert> Fahrenheit</p>
<p>Water boils at 100 Celsius which is <temp:convert to="F">100</temp:convert> Fahrenheit</p>
<p>Water boils at 100 Celsius which is <temp:convert>100</temp:convert> Fahrenheit</p>


<p>Water boils at 100 Celsius which is <temp:convert to="Kelvin">100</temp:convert> Kelvin</p>
<p>Water boils at 100 Celsius which is <temp:convert to="K">100</temp:convert> Kelvin</p>


